import Mock from 'mockjs'
import '@/mock/extend'
const BASE_URL = process.env.VUE_APP_API_BASE_URL

const dicList = Mock.mock({
  'list|100': [{
    'id|+1': 1,
    'name':'@string',
    'code': '@string',
  }]
})
Mock.mock(`${BASE_URL}/dictionary`, 'post', () => {
  return dicList
})
